import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from '@/common/request'
import api from '@/common/apiUtils'
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.use(Mint);
import { selectDictLabel, getBaseUrl, dateFormat, getDate,timeFormat} from "@/common/commUtils.js";

Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.getBaseUrl = getBaseUrl
Vue.prototype.dateFormat = dateFormat
Vue.prototype.timeFormat = timeFormat
Vue.prototype.getDate = getDate

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$api = api

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
